package com.shuatim.model.wechat;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yhy
 */
@TableName("score")
@Data
public class Score implements Serializable {
    /**
     * 分数ID
     */
    @TableId
    private Integer scoreId;

    /**
     * 用户ID
     */
    private String usersId;

    private Integer paperId;

    /**
     * 分数
     */
    private Double fraction;

    private String img;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private static final long serialVersionUID = 1L;

}